/*
 * Clase encargada de gestionar la logica de negocio de la aplicacion.
 */
package co.springtree.spectrum.visa.mvc.controller;

import co.springtree.spectrum.visa.mvc.model.CommandModel;
import co.springtree.spectrum.visa.mvc.view.CommandView;

/**
 *
 * @author Ricardo Carvajal
 */
public class CommandController {
    
    private CommandView view;
    private CommandModel model;
    
    public CommandController(CommandModel model,CommandView view){
        this.model = model;
        this.view = view;
    }
    
    public String createCommand(){
        model.createCommand();
        return "Comando Creado";
    }
    
    public void initView(){
        model.init();
    }
    
    
}
